<?
include '../config.inc.php';
$username =  @$_POST['username'];
$password =  @$_POST['password'];
$id =  @$_POST['id'];
include '../member.php';
//判断是否管理员
if($admin != 1){
  echo '错误';
  exit;
}

if(!mysql_query("delete from wwk_chat_msg WHERE id='{$id}'")){
	echo '删除失败';
	exit;
}else{
    echo '删除成功';
}






?>